﻿using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace Himp.TaskScheduling.Hangfire.Models
{
    /// <summary>
    /// 存样柜配置信息表
    /// </summary>
    public class SampleCabinetConfigInfo
    {
        /// <summary>
        /// 位置id
        /// </summary>
        public int ID { get; set; }

        /// <summary>
        /// 存样柜编号
        /// </summary>
        public long? SampleCabNum { get; set; }

        /// <summary>
        /// 存样柜类别（0为自动，1为人工）
        /// </summary>
        public long? SampleCabCategory { get; set; }

        /// <summary>
        /// 默认的存放类型:0.通用 1.全水样 2.0.2mm样 3.3mm样
        /// </summary>
        public long? SampleTypeDefault { get; set; }

        /// <summary>
        /// 存样瓶位置编号
        /// </summary>
        public long? SamplePositionNum { get; set; }

        /// <summary>
        /// 当前的存放类型（0无样，1全水样，2 0.2mm样，3 3mm样）
        /// </summary>
        public long? SampleTypeCurrent { get; set; }

        /// <summary>
        /// 存样瓶X轴位置
        /// </summary>
        public long? XPosition { get; set; }

        /// <summary>
        /// 存样瓶Y轴位置
        /// </summary>
        public long? YPosition { get; set; }

        /// <summary>
        /// 存样瓶Z轴位置
        /// </summary>
        public long? ZPosition { get; set; }

        /// <summary>
        /// 煤样编码
        /// </summary>
        public string CoalSampleCode { get; set; }

        /// <summary>
        /// 是否占用（0未占用，1已占用）
        /// </summary>
        public long? Occupancy { get; set; }

        /// <summary>
        /// 存样人
        /// </summary>
        public string SampleCustodian { get; set; }

        /// <summary>
        /// 存样时间
        /// </summary>
        public DateTime? SamplingTime { get; set; }

        /// <summary>
        /// 接样登记台账编号
        /// </summary>
        public long? SamplingLedgerNum { get; set; }

        /// <summary>
        /// 入柜质量
        /// </summary>
        public long? QualityIncoming { get; set; }

        /// <summary>
        /// 粒度
        /// </summary>
        public string Granularity { get; set; }

        /// <summary>
        /// 监督人
        /// </summary>
        public string Supervisor { get; set; }

        /// <summary>
        /// 所属面位（1 A面，2 B面）
        /// </summary>
        public long? Samplematrix { get; set; }

        /// <summary>
        /// 存样位置数量
        /// </summary>
        public int? SampleLocCount { get; set; }

        /// <summary>
        /// 存样方式类型(自动/手动)
        /// </summary>
        public bool AutoMode { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public bool ValiFlag { get; set; }
    }
}
